package com.arpa.ntocc.common.domain.dto;

import com.arpa.ntocc.common.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 菜单列表字段DTO
 * </p>
 *
 * @author liuyj
 * @since 2019-11-25
 */
@Data
@ApiModel(value="ResourceColDTO对象", description="菜单列表字段")
public class ResourceColDTO extends BasicEntity {


    @ApiModelProperty(value = "code")
    private String code;

    @ApiModelProperty(value = "菜单code")
    private String resourceCode;

    @ApiModelProperty(value = "字段")
    private String col;

    @ApiModelProperty(value = "字段名")
    private String colName;

    @ApiModelProperty(value = "是否选中 0否,1是")
    private Integer isChecked;

    @ApiModelProperty(value = "是否可排序 0否,1是")
    private Integer isCanSort;

    @ApiModelProperty(value = "是否可检索 0否,1是")
    private Integer isCanSearch;

    @ApiModelProperty(value = "显示顺序，正序")
    private Integer sort;

    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;
}
